pandas export csv without index

34

df.to_csv('your.csv', index=False)
import pandas as pd
fec = pd.read_csv('P00000001-ALL.csv',nrows=10,index_col=None)
df.to_csv(file_name, sep='\t')
data.to_csv('geocodes_deduped.csv', index=False)

Comments

Submit
0 Comments